package com.lagou.homework.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "user")
@Component
public class User {
    @Id
    private Integer id;
    private String email;
    private String password;
}
